/*
 * @Description: 客户订单属性模块
 * @Version: 1.0
 * @Autor: c-jack.qian
 * @Date: 2020-12-28 17:10:26
 * @LastEditors: c-jack.qian
 * @LastEditTime: 2021-04-09 10:44:31
 */
import { RoutersConfig } from 'hzero-boot/lib/typings/IRouterConfig';
import intl from 'utils/intl';

const config: RoutersConfig = [
  {
    path: '/o2om/customer-order-attribute-list',
    component: () => import('./customerOrderAttributeListPage'),
    authorized: true,
    title: intl.get('dji.otc.om.view.menu.customerOrderAttribute').d('客户订单属性'),
    components: [
      {
        path: '/o2om/customer-order-attribute-list/customer-order-detail/:id',
        component: () => import('./customerOrderAttributeDtlPage'),
        authorized: true,
        title: intl.get(`dji.otc.om.view.menu.customerOrderAttributeDetail`).d('客户订单属性详情'),
      },
    ],
  },
];

export default config;
